# Form implementation generated from reading ui file 'src/eric7/EricWidgets/EricAuthenticationDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_EricAuthenticationDialog(object):
    def setupUi(self, EricAuthenticationDialog):
        EricAuthenticationDialog.setObjectName("EricAuthenticationDialog")
        EricAuthenticationDialog.resize(400, 152)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(EricAuthenticationDialog.sizePolicy().hasHeightForWidth())
        EricAuthenticationDialog.setSizePolicy(sizePolicy)
        EricAuthenticationDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(EricAuthenticationDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.iconLabel = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        self.iconLabel.setObjectName("iconLabel")
        self.horizontalLayout.addWidget(self.iconLabel)
        self.infoLabel = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.infoLabel.sizePolicy().hasHeightForWidth())
        self.infoLabel.setSizePolicy(sizePolicy)
        self.infoLabel.setWordWrap(True)
        self.infoLabel.setObjectName("infoLabel")
        self.horizontalLayout.addWidget(self.infoLabel)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.usernameEdit = QtWidgets.QLineEdit(parent=EricAuthenticationDialog)
        self.usernameEdit.setObjectName("usernameEdit")
        self.gridLayout.addWidget(self.usernameEdit, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.passwordEdit = EricPasswordEdit(parent=EricAuthenticationDialog)
        self.passwordEdit.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
        self.passwordEdit.setObjectName("passwordEdit")
        self.gridLayout.addWidget(self.passwordEdit, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.saveCheckBox = QtWidgets.QCheckBox(parent=EricAuthenticationDialog)
        self.saveCheckBox.setObjectName("saveCheckBox")
        self.verticalLayout.addWidget(self.saveCheckBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=EricAuthenticationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(EricAuthenticationDialog)
        self.buttonBox.accepted.connect(EricAuthenticationDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(EricAuthenticationDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(EricAuthenticationDialog)
        EricAuthenticationDialog.setTabOrder(self.usernameEdit, self.passwordEdit)
        EricAuthenticationDialog.setTabOrder(self.passwordEdit, self.saveCheckBox)

    def retranslateUi(self, EricAuthenticationDialog):
        _translate = QtCore.QCoreApplication.translate
        EricAuthenticationDialog.setWindowTitle(_translate("EricAuthenticationDialog", "Authentication Required"))
        self.iconLabel.setText(_translate("EricAuthenticationDialog", "Icon"))
        self.infoLabel.setText(_translate("EricAuthenticationDialog", "Info"))
        self.label.setText(_translate("EricAuthenticationDialog", "Username:"))
        self.usernameEdit.setToolTip(_translate("EricAuthenticationDialog", "Enter username"))
        self.label_2.setText(_translate("EricAuthenticationDialog", "Password:"))
        self.saveCheckBox.setToolTip(_translate("EricAuthenticationDialog", "Select to save the login data"))
        self.saveCheckBox.setText(_translate("EricAuthenticationDialog", "Save login data"))
from eric7.EricWidgets.EricPasswordEdit import EricPasswordEdit
